#pragma once
#include<iostream>
using namespace std;
#define valueType int
namespace GIS20208
{
	struct node
	{
		valueType value;
		node* right = nullptr;
		node* left = nullptr;
	};

	void preorder(node* root)
	{
		if (root == nullptr)
			return;
		cout << root->value;
		preorder(root->left);
		preorder(root->right);
	}

	void inorder(node* root)
	{
		if (root == nullptr)
			return;
		preorder(root->left);
		cout << root->value;
		preorder(root->right);
	}




}